//
//  TuiJianPushModel.m
//  TTMusic
//
//  Created by 马金晖 on 16/4/5.
//  Copyright © 2016年 cpy. All rights reserved.
//

#import "TuiJianPushModel.h"

@implementation TuiJianPushModel


-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    if ([key isEqualToString:@"description"]) {
        [self.descriptionl setValuesForKeysWithDictionary:value];
    }
    
}

-(instancetype)initWithDataSource:(NSDictionary *)dataSource {
    
    self = [super initWithDataSource:dataSource];
    
    if (self) {
        
        NSMutableArray *array = [NSMutableArray array];
        
        for (NSDictionary *dic in self.songList) {
            
            SongsListModel *songsListModel = [[SongsListModel alloc]initWithDataSource:dic];
            
            [array addObject:songsListModel];
            
        }
        self.songList = [NSArray arrayWithArray:array];
        
    }
    return self;
}


@end
